//
//  ScreenTool.m
//  Project
//
//  Created by  CarlsonLee on 2018/12/14.
//  Copyright © 2018年 YANJING. All rights reserved.
//

#import "ScreenTool.h"

@implementation ScreenTool

+ (CGFloat)st_getNavbarHeight{
    if (IS_IPHONEX) {
        return 88;
    }
    return 64;
}

+ (CGFloat)st_getTabBarHeight {
    if (IS_IPHONEX) {
        return 49 + 34;
    }
    return 49;
}

+ (CGFloat)st_getNavbarStateHeight {
    if (IS_IPHONEX) {
        return 44;
    }
    return 20;
}

+ (CGFloat)st_getBottomSpace {
    if (IS_IPHONEX) {
        return 34;
    }
    return 0;
}

@end
